﻿using SqlSugar;
using System;

namespace OldPlatform_to_NewPlatform.newEntity
{
    /// <summary>
    /// 效应记录表实体类
    /// </summary>
    [SugarTable(TableConstant.NEffectData)]
    public class NEffectData
    {
        #region 字段属性

        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public long Id { get; set; }

        /// <summary>
        /// 槽号
        /// </summary>
        public string Slot_id { get; set; }

        /// <summary>
        /// 记录日期
        /// </summary>
        public DateTime Record_date { get; set; }

        /// <summary>
        /// 持续时间
        /// </summary>
        public int Effect_duration { get; set; }

        /// <summary>
        /// 峰值电压
        /// </summary>
        public float Effect_volt_max { get; set; }

        /// <summary>
        /// 平均电压
        /// </summary>
        public float Effect_volt_avg { get; set; }

        /// <summary>
        /// 功耗
        /// </summary>
        public float Effect_power_waste { get; set; }

        /// <summary>
        /// 效应类型：1-真实效应，2-闪烁效应
        /// </summary>
        public int Effect_type { get; set; }

        #endregion 字段属性
    }
}